//
//  XKWHomeViewController.m
//  CreditHub
//
//  Created by chenglang on 2024/9/17.
//

#import "XKWHomeViewController.h"
#import "XKWHomeTableViewCell.h"

@interface XKWHomeViewController ()
@property (weak, nonatomic) IBOutlet UITableView *tableView;

@end

@implementation XKWHomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.ch_titleImage = [UIImage imageNamed:@"home_dakawei_header_logo"];
    [self.tableView registerNib:[UINib nibWithNibName:@"XKWHomeTableViewCell" bundle:nil] forCellReuseIdentifier:@"XKWHomeTableViewCell"];
    
}
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    
    return 10;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    
    XKWHomeTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"XKWHomeTableViewCell"];
    
    return cell;
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
   
    return 140;
    
}

@end
